<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./index.js"></script>
    <style>
        .smallBox{
            height: 50px;
            width: 50px;
            background-color: yellow;
            position: absolute;
        }
        .box1,.box{
            width: 200px;
            height: 200px;
            border: 1px solid black;
            display: inline-block;
            position: relative;
        }
       .box1,.box{
           overflow: hidden;
       }
       .box1{
           position: relative;
       }
       #img2{
           position: absolute;
           left: 0;
           top: 0;
       }

        img{
            width: 100%;
        }
    </style>
</head>
<body>
   
        <div class="box">
            <div class="smallBox"></div>
            <img src="./img/img/cw1.png" alt="" id="img1">
        </div>
        <div class="box1">
            <img src="./img/img/cw1.png" alt="" id="img2">
        </div>
    
</body>
</html>